package com.liugui.designmode;

/**
 * @ClassName: Handler
 * @Author: liugui
 * @Date: 2020-11-09 11:21
 **/
public abstract class Handler {
    protected Handler successor;


    public void setSuccessor(Handler successor) {
        this.successor = successor;
    }

    public abstract void handlerRequest(int heaven);

}
